package cn.itcast.wanxinp2p.consumer.service;

import cn.itcast.wanxinp2p.api.consumer.model.ConsumerRegisterDTO;

/**
 * <p> </p>
 *
 * @author <a href=mailto:zhaoboying@itcast.cn> byZhao </a>
 * @version 1.0.0
 * @motto Talk is cheap, show me the code!
 * @since 2022-03-31 10:42:54
 */
public interface ConsumerRegisterTCC {

    void tryMethod(ConsumerRegisterDTO consumerRegisterDTO);

    void confirmMethod(ConsumerRegisterDTO consumerRegisterDTO);

    void cancelMethod(ConsumerRegisterDTO consumerRegisterDTO);

}
